<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>tabbar效果</title>
    <style>
        *{padding: 0; margin: 0;}
        .g-footer{
            display: flex;
            justify-content: space-around;
            height: 70px;
            background-color: pink;
            align-items: center;
        }

        .active{
            color: red;
        }
    </style>
</head>
<body>
    <!-- tabbar底部效果 -->
     <div class="g-footer">
          <div class="active">首页</div>
          <div>分类</div>
          <div>购物车</div>
          <div>我的</div>
     </div>
</body>
</html>